﻿package cgs.server.logging.messages
{
    import cgs.server.logging.*;

    public class ScoreMessage extends Message implements IQuestMessage
    {
        private var _dqid:String;

        public function ScoreMessage(param1:int, param2:GameServerData = null)
        {
            super(param2);
            addProperty("score", param1);
            return;
        }// end function

        override public function injectParams() : void
        {
            super.injectParams();
            injectUserName();
            return;
        }// end function

        public function setQuestID(param1:int) : void
        {
            addProperty("qid", param1);
            return;
        }// end function

        public function getQuestID() : int
        {
            return _messageObject.qid;
        }// end function

        public function setDQID(param1:String) : void
        {
            this._dqid = param1;
            addProperty("dqid", param1);
            return;
        }// end function

        public function get dqid() : String
        {
            return this._dqid;
        }// end function

    }
}
